const store = {
  state: {
    num: 20,
  },
  actions: {
    add2(state: { num: any }, { type, val }: any) {
      state.num += val
    },
  },
}

export default store
